﻿namespace MDXStudio
{
    using System;
    using System.ComponentModel;
    using System.Drawing;
    using System.Windows.Forms;
    using WeifenLuo.WinFormsUI.Docking;

    public class PerfmonWindow : DockContent
    {
        private IContainer components;
        private RichTextBox richTextPerfmon;

        public PerfmonWindow()
        {
            this.InitializeComponent();
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        private void InitializeComponent()
        {
            ComponentResourceManager manager = new ComponentResourceManager(typeof(PerfmonWindow));
            this.richTextPerfmon = new RichTextBox();
            base.SuspendLayout();
            this.richTextPerfmon.Dock = DockStyle.Fill;
            this.richTextPerfmon.Font = new Font("Lucida Console", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.richTextPerfmon.Location = new Point(0, 0);
            this.richTextPerfmon.Name = "richTextPerfmon";
            this.richTextPerfmon.ReadOnly = true;
            this.richTextPerfmon.Size = new Size(0x124, 0x111);
            this.richTextPerfmon.TabIndex = 3;
            this.richTextPerfmon.Text = "";
            base.AutoScaleDimensions = new SizeF(6f, 13f);
            base.AutoScaleMode = AutoScaleMode.Font;
            base.ClientSize = new Size(0x124, 0x111);
            base.Controls.Add(this.richTextPerfmon);
            base.HideOnClose = true;
            base.Icon = (Icon) manager.GetObject("$this.Icon");
            base.Name = "PerfmonWindow";
            base.TabText = "Perfmon";
            this.Text = "Perfmon";
            base.ResumeLayout(false);
        }

        internal RichTextBox TextBox
        {
            get
            {
                return this.richTextPerfmon;
            }
        }
    }
}

